﻿using System;
using System.CodeDom.Compiler;
using System.Diagnostics;
using Google.Protobuf;
using Google.Protobuf.Reflection;

namespace EggLink.DanhengServer.Proto
{
	// Token: 0x02000C23 RID: 3107
	[DebuggerDisplay("{ToString(),nq}")]
	public sealed class MuseumRandomEventStartScNotify : IMessage<MuseumRandomEventStartScNotify>, IMessage, IEquatable<MuseumRandomEventStartScNotify>, IDeepCloneable<MuseumRandomEventStartScNotify>, IBufferMessage
	{
		// Token: 0x1700272E RID: 10030
		// (get) Token: 0x06008AF7 RID: 35575 RVA: 0x00171DC5 File Offset: 0x0016FFC5
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageParser<MuseumRandomEventStartScNotify> Parser
		{
			get
			{
				return MuseumRandomEventStartScNotify._parser;
			}
		}

		// Token: 0x1700272F RID: 10031
		// (get) Token: 0x06008AF8 RID: 35576 RVA: 0x00171DCC File Offset: 0x0016FFCC
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageDescriptor Descriptor
		{
			get
			{
				return MuseumRandomEventStartScNotifyReflection.Descriptor.MessageTypes[0];
			}
		}

		// Token: 0x17002730 RID: 10032
		// (get) Token: 0x06008AF9 RID: 35577 RVA: 0x00171DDE File Offset: 0x0016FFDE
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		MessageDescriptor IMessage.Descriptor
		{
			get
			{
				return MuseumRandomEventStartScNotify.Descriptor;
			}
		}

		// Token: 0x06008AFA RID: 35578 RVA: 0x00171DE5 File Offset: 0x0016FFE5
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public MuseumRandomEventStartScNotify()
		{
		}

		// Token: 0x06008AFB RID: 35579 RVA: 0x00171DED File Offset: 0x0016FFED
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public MuseumRandomEventStartScNotify(MuseumRandomEventStartScNotify other) : this()
		{
			this.info_ = ((other.info_ != null) ? other.info_.Clone() : null);
			this._unknownFields = UnknownFieldSet.Clone(other._unknownFields);
		}

		// Token: 0x06008AFC RID: 35580 RVA: 0x00171E22 File Offset: 0x00170022
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public MuseumRandomEventStartScNotify Clone()
		{
			return new MuseumRandomEventStartScNotify(this);
		}

		// Token: 0x17002731 RID: 10033
		// (get) Token: 0x06008AFD RID: 35581 RVA: 0x00171E2A File Offset: 0x0017002A
		// (set) Token: 0x06008AFE RID: 35582 RVA: 0x00171E32 File Offset: 0x00170032
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public NNIDMJHAPKK Info
		{
			get
			{
				return this.info_;
			}
			set
			{
				this.info_ = value;
			}
		}

		// Token: 0x06008AFF RID: 35583 RVA: 0x00171E3B File Offset: 0x0017003B
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override bool Equals(object other)
		{
			return this.Equals(other as MuseumRandomEventStartScNotify);
		}

		// Token: 0x06008B00 RID: 35584 RVA: 0x00171E49 File Offset: 0x00170049
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool Equals(MuseumRandomEventStartScNotify other)
		{
			return other != null && (other == this || (object.Equals(this.Info, other.Info) && object.Equals(this._unknownFields, other._unknownFields)));
		}

		// Token: 0x06008B01 RID: 35585 RVA: 0x00171E7C File Offset: 0x0017007C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override int GetHashCode()
		{
			int num = 1;
			if (this.info_ != null)
			{
				num ^= this.Info.GetHashCode();
			}
			if (this._unknownFields != null)
			{
				num ^= this._unknownFields.GetHashCode();
			}
			return num;
		}

		// Token: 0x06008B02 RID: 35586 RVA: 0x00171EB8 File Offset: 0x001700B8
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override string ToString()
		{
			return JsonFormatter.ToDiagnosticString(this);
		}

		// Token: 0x06008B03 RID: 35587 RVA: 0x00171EC0 File Offset: 0x001700C0
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void WriteTo(CodedOutputStream output)
		{
			output.WriteRawMessage(this);
		}

		// Token: 0x06008B04 RID: 35588 RVA: 0x00171EC9 File Offset: 0x001700C9
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalWriteTo(ref WriteContext output)
		{
			if (this.info_ != null)
			{
				output.WriteRawTag(66);
				output.WriteMessage(this.Info);
			}
			if (this._unknownFields != null)
			{
				this._unknownFields.WriteTo(ref output);
			}
		}

		// Token: 0x06008B05 RID: 35589 RVA: 0x00171EFC File Offset: 0x001700FC
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public int CalculateSize()
		{
			int num = 0;
			if (this.info_ != null)
			{
				num += 1 + CodedOutputStream.ComputeMessageSize(this.Info);
			}
			if (this._unknownFields != null)
			{
				num += this._unknownFields.CalculateSize();
			}
			return num;
		}

		// Token: 0x06008B06 RID: 35590 RVA: 0x00171F3C File Offset: 0x0017013C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(MuseumRandomEventStartScNotify other)
		{
			if (other == null)
			{
				return;
			}
			if (other.info_ != null)
			{
				if (this.info_ == null)
				{
					this.Info = new NNIDMJHAPKK();
				}
				this.Info.MergeFrom(other.Info);
			}
			this._unknownFields = UnknownFieldSet.MergeFrom(this._unknownFields, other._unknownFields);
		}

		// Token: 0x06008B07 RID: 35591 RVA: 0x00171F90 File Offset: 0x00170190
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(CodedInputStream input)
		{
			input.ReadRawMessage(this);
		}

		// Token: 0x06008B08 RID: 35592 RVA: 0x00171F9C File Offset: 0x0017019C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalMergeFrom(ref ParseContext input)
		{
			uint num;
			while ((num = input.ReadTag()) != 0U)
			{
				if (num != 66U)
				{
					this._unknownFields = UnknownFieldSet.MergeFieldFrom(this._unknownFields, ref input);
				}
				else
				{
					if (this.info_ == null)
					{
						this.Info = new NNIDMJHAPKK();
					}
					input.ReadMessage(this.Info);
				}
			}
		}

		// Token: 0x0400351C RID: 13596
		private static readonly MessageParser<MuseumRandomEventStartScNotify> _parser = new MessageParser<MuseumRandomEventStartScNotify>(() => new MuseumRandomEventStartScNotify());

		// Token: 0x0400351D RID: 13597
		private UnknownFieldSet _unknownFields;

		// Token: 0x0400351E RID: 13598
		public const int InfoFieldNumber = 8;

		// Token: 0x0400351F RID: 13599
		private NNIDMJHAPKK info_;
	}
}
